| Previous | Chapter contents | Chapter top | Section top | Next |
You can use the QTVRCallInterceptedProc function to call an intercepted QuickTime VR function from within an intercept procedure.
OSErr QTVRCallInterceptedProc (
QTVRInstanceqtvr,
QTVRInterceptRecord*qtvrMsg);
The QTVRCallInterceptedProc function executes the QuickTime VR Manager function indicated by the selector field of the qtvrMsg intercept record. The parameters passed to that function are the QuickTime VR movie specified by the qtvr parameter and any other parameters contained in the parameter field of the qtvrMsg record. You can, if you wish, change the parameters in that field before calling QTVRCallInterceptedProc .
You can call QTVRCallInterceptedProc more than once in your intercept procedure. In addition, the QuickTime VR Manager will call the intercepted function again unless your intercept procedure returns true in its cancel parameter.
See "QuickTime VR Intercept Procedure" for information about intercept procedures. Listing 2-7 illustrates the use of QTVRCallInterceptedProc .
| Previous | Chapter contents | Chapter top | Section top | Next |